echo "install docker and compose"

yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache 

echo "-------------- install docker ----"
yum -y install docker-ce
yum -y install python3

systemctl start docker
docker run hello-world
#yum -y install python-pip
#curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#python get-pip.py
yum install python3
pip3 install -U pip setuptools
pip3 install docker-compose

mkdir ss
cd ss
wget -O docker-compose.yml http://yangtf.gitee.io/yingzi/docker-compose.yml
docker-compose up -d
echo "****** modify docker-compose to change your password,default is : ";
echo "123456abcdef"